package com.huangyi.mstemplateservice;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.amqp.RabbitAutoConfiguration;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;

@SpringBootApplication(exclude ={DataSourceAutoConfiguration.class})
public class MstemplateServiceApplication {
    public static void main(String[] args) {
        SpringApplication.run(MstemplateServiceApplication.class, args);
//        ConfigurableApplicationContext ctx = SpringApplication.run(MstemplateServiceApplication.class, args);
//        Environment env = ctx.getEnvironment();
//        System.out.println("Host: " + env.getProperty("spring.data.redis.host"));
//        System.out.println("Port: " + env.getProperty("spring.data.redis.port"));
//        System.out.println("Password: " + env.getProperty("spring.data.redis.password"));
    }

}
